projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f9380d
)
(ftfont_open): Set members maybe_otf and otf of
author
Kenichi Handa
<handa@m17n.org>
Mon, 3 Dec 2007 01:42:01 +0000
(
01:42
+0000)
committer
Kenichi Handa
<handa@m17n.org>
Mon, 3 Dec 2007 01:42:01 +0000
(
01:42
+0000)
ftfont_info only when HAVE_LIBOTF is defined.
src/ftfont.c
patch
|
blob
|
history
diff --git
a/src/ftfont.c
b/src/ftfont.c
index 4404d6962d0b49519a111eb4a618d074584b35f6..48244ff28dc32e84d85adc9dd956e4a9f077415e 100644
(file)
--- a/
src/ftfont.c
+++ b/
src/ftfont.c
@@
-735,8
+735,10
@@
ftfont_open (f, entity, pixel_size)
if (! ftfont_info)
return NULL;
ftfont_info->ft_size = ft_size;
+#ifdef HAVE_LIBOTF
ftfont_info->maybe_otf = ft_face->face_flags & FT_FACE_FLAG_SFNT;
ftfont_info->otf = NULL;
+#endif /* HAVE_LIBOTF */
font = (struct font *) ftfont_info;
font->format = ftfont_font_format (pattern);